﻿<%template _header%>
<%namespace YouHP.Model%>
<!--header end-->
<!--主体-->
<div class="layout-cols2">
	<div class="col1">
		<div class="box">
			<div class="caption"><%template _Userinfo%></div>
			<div class="content">
			
				<%if ErrorCount==0%>
						<%if IsPost%>
							<%template _msgbox%>
						<%else%>
						<form action="" method="post" ID="Form1">
<table width ="100%" class ="table-box">
	<tr><td class ="table-box-left">
    <label for="email">Email:</label>
    </td><td class ="table-box-right">
	    <input type="text" id="email" value="{_User.Email}" size="30" readonly="true"
	        class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" /> 
    </td>
    <tr>
    <td class ="table-box-left">
    <label for="location">地址:</label>
    </td>
    <td class ="table-box-right"> <div><%template _district%> <span style ="line-height:25px">&nbsp;填上此项有利于寻找和你一个地方的病友</span>
    </div></td>
      
     </tr>	
	  
	  <tr><td class ="table-box-left">
      <label for="zip">邮政编码:</label>
      </td><td class="table-box-right">
      <input name="zip" type="text" id="location" 
         class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" 
         value="{_User.ZipCode}" size="30" />
     </td></tr>
	  
	  <tr><td class ="table-box-left">
      <label for="mobile">移动电话号码:</label>
     </td><td class ="table-box-right">
	      <input name="mobile" type="text" id="mobile" value="{_User.MobilePhone}" 
	      class="colorblue" onfocus="this.className='colorfocus';" 
	      onblur="this.className='colorblue';" size="30" />
    </td></tr>
    
    <tr><td class ="table-box-left">
      <label for="phone">固定电话号码:</label>
      </td><td class ="table-box-right">
	      <input name="phone" type="text" id="phone" value="{_User.Telephone}" 
	      class="colorblue" onfocus="this.className='colorfocus';" 
	      onblur="this.className='colorblue';" size="30" />
      </td></tr>
      
             <tr><td colspan ="2" align ="right">
		  <input type="submit" name="Submit" value="修改" class="buttonstyle" 
		    onclick="if (document.getElementById('bio').value.length > 500) {alert('自我介绍长度最大为500字'); return false;}"
		    ID="Submit1"/>
			</td></tr>			    
						    
		    </table>
		</form>
						
						<%/if%>
			
			</div>
						
					<%else%>
					
						<%template _memerrmsgbox%>
						
					<%/if%>
	 				
	 </div>
  </div>
		<div class="col2">
		    
	        <%template _Menu%>
	        
    	</div>
</div>
<!--主体-->

<%template _footer%>
	  